package com.jurassic.demo.service;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @Author pan_jin
 * @Description: $
 * @Date: 2022/8/2 9:29
 * @Version: 1.0.0
 * @Slogan: 梦想还是要有的万一实现了呢
 */
@Component
public class SchedulingService {

    @Scheduled(cron = "*/3 * * * * *")
    public void schedulingTest(){

        System.out.println("\"hello world\" = " + "hello world");

    }
}
